package conson.tech.manage.coupons.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * ClassName: CouponsGrantLogVo
 * Description: 优惠券查询list列表
 *
 * @Author: ZYF
 * Date: 2020/07/20
 * Version: 1.0
 */
@ApiModel(value = "conson.tech.manage.coupons.entity.vo.CouponsGrantLogVo", description = "优惠券全状态-日志信息")
@Data
public class CouponsGrantLogVo implements Serializable {


    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String createName;

    /**
     * 操作类型
     */
    @ApiModelProperty(value = "操作类型")
    private String operateDesc;

    /**
     * 操作说明
     */
    @ApiModelProperty(value = "操作说明")
    private String remark;
    /**
     * 操作类型
     */
    @ApiModelProperty(value = "（0 系统 1app用户 2后台用户）")
    private Integer operateType;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态（0有效、1已使用、2已过期、3已作废、4已锁定）")
    private Integer couponsState;

    /**
     * 时间
     */
    @ApiModelProperty(value = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
